// 空地址提示
import { Dialog } from 'vant'
export default {
  methods: {
    isEmptyAddress (address) {
      if (address.length !== 0) {
        return
      }
      Dialog.alert({
        message: '你还没有设置地址',
        confirmButtonText: '去设置'
      }).then(() => {
        this.$jumpToPath('address/create')
      })
    }
  }
}
